home *** CD-ROM | disk | FTP | other *** search
- Path: dfw.nkn.net!usenet
- From: wiersch@fastlane.net (Albert Wiersch)
- Newsgroups: comp.lang.c++
- Subject: Re: Getting a 256 BMP to look right in client window
- Date: Fri, 09 Feb 1996 19:24:13 GMT
- Organization: National Knowledge Network
- Message-ID: <4ffvqp$gr5@dfw.nkn.net>
- References: <4fevig$6tf@dfw.nkn.net> <4ff4uh$8mv@due.unit.no>
- NNTP-Posting-Host: fw60.fastlane.net
- X-Newsreader: Forte Free Agent 1.0.82
-
- rustad@fm.unit.no (Rolf Rustad) wrote:
-
- >Albert Wiersch (wiersch@fastlane.net) wrote:
- >: I am writing a Win 95 program that copies a BMP to the client window.
- >: It is a 256 color bitmap and when I run the program in 64k colors, it
- >: looks great but when I run the program in 256 colors, it looks like
- >: crap. I assume that I need to somehow tell the computer the palette
- >: needs adjusting so that it will look right. What can I do about this?
- >:
- >: Any help would be appreciated!
- >:
-
- >The colors in your bitmap conflict with and are overruled by the colors in the
- >system palette. You have to set the palette spesifically, but then you risk
- >that the rest of your screen will look like crap.
-
- >Rolf
-
- That is my question... how do I change the system palette so my 256
- color BMP will look right on a 256 color display? I want the system
- palette to match as best as possible the palette in the bitmap I am
- displaying.
-
- Thanx,
- Albert
-
- Regards,
- Albert Wiersch
- METRO 817-589-9600
- wiersch@fastlane.net
- http://www.fastlane.net/~wiersch
-
-